from django.contrib import admin

# Register your models here.

# Register your models here.
 # tasks/admin.py
admin.site.site_header = '疫情管理后台'  # 设置header
admin.site.site_title = '疫情管理后台'   # 设置title
admin.site.index_title = '疫情管理后台'

from .models import User

@admin.register(User)
class AuthorAdmin(admin.ModelAdmin):
    list_display = ('username', 'birthday', 'gender', 'address', 'phone', 'email')
